<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>XX应用平台</title>
        <link th:href="@{/webjars/bootstrap/5.1.3/css/bootstrap.min.css}" rel="stylesheet" type="text/css">
        <link th:href="@{/css/style.min.css}" rel="stylesheet" type="text/css">
        <link th:href="@{/css/login.min.css}" rel="stylesheet" type="text/css">
    </head>
    <body class="signin">
    <div class="signinpanel">
        <div class="row">
            <div class="col-sm-7">
                <div class="signin-info">
                    <div class="logopanel m-b">
                        <h1>[ Springboot Security ]</h1>
                    </div>
                    <div class="m-b"></div>
                    <h4>欢迎使用 <strong>XX应用</strong></h4>
                    <ul class="m-b">
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringSecurity</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>
                        <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> jQuery</li>
                    </ul>
                    <strong>还没有账号？ <a href="#">立即注册</a></strong>
                </div>
            </div>
            <div class="col-sm-5">
                <form th:action="@{/auth/login}" method="post">
                    <h4 class="no-margins">登录：</h4>
                    <p class="m-t-md" style="color: darkred" th:if="${param.error}">账号或密码错误</p>
                    <input type="text" name="username" class="form-control uname" placeholder="用户名" required/>
                    <input type="password" name="password" class="form-control pword m-b" placeholder="密码" required/>
                    <button class="btn btn-success btn-block">登录</button>
                    <a href="">忘记密码了？</a>
                </form>
            </div>
        </div>
        <div class="signup-footer">
            <div class="pull-left">
                &copy; 2022 All Rights Reserved. SpringBoot Security
            </div>
        </div>
    </div>
    <script th:src="@{/webjars/bootstrap/5.1.3/js/bootstrap.min.js}" type="text/javascript"></script>
    </body>
</html>